package com.ihrm.salarys.dao;

import com.ihrm.domain.salarys.SalaryArchive;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;


/**
 * 归档主表dao
 */
public interface ArchiveDao extends JpaRepository<SalaryArchive,String>,
        JpaSpecificationExecutor<SalaryArchive> {
    
    SalaryArchive findByCompanyIdAndYearsMonth(String companyId,String yearsMonth);
}
